package cn.jeeweb.web.modules.equipment.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.jeeweb.common.annotate.UiPropertyField;
import cn.jeeweb.common.flag.ObjectMark;
import cn.jeeweb.common.mvc.entity.DataEntity;
import cn.xjzn.framework_Core.ControlType;
import cn.xjzn.framework_Core.ModuleServe;
import cn.xjzn.framework_Core.StaticControl;
import com.baomidou.mybatisplus.annotations.TableField;

import java.util.Date;

public class EqsCheck extends DataEntity<String> implements ObjectMark {

    @TableField(value = "code")
    @Excel(name = "设备零件编号", orderNum = "1", width = 30.0D )
    @UiPropertyField(moduleId = ModuleServe.eqsCheckModule,propertyName = "code",labelText="设备零件编号",displayPosition =1)
    private String code;

    @TableField(value = "name")
    @Excel(name = "设备零件编号", orderNum = "1", width = 30.0D )
    @UiPropertyField(moduleId = ModuleServe.eqsCheckModule,propertyName = "name",labelText="设备零件名称",displayPosition =1)
    private String name;

    @TableField(value = "checkContent")
    @Excel(name = "检验内容", orderNum = "1", width = 30.0D )
    @UiPropertyField(moduleId = ModuleServe.eqsCheckModule,propertyName = "checkContent",labelText="检验内容",displayPosition =1)
    private String checkContent;

    @TableField(value = "checkResult")
    @Excel(name = "检验结果", orderNum = "1", width = 30.0D )
    @UiPropertyField(moduleId = ModuleServe.eqsCheckModule,propertyName = "checkResult",labelText="检验结果",displayPosition =1)
    private String checkResult;

    @TableField(value = "checkDate")
    @Excel(name = "任务计划执行日期", orderNum = "5", width = 20.0D)
    @UiPropertyField(moduleId = ModuleServe.eqsMaintenanceTaskModule,propertyName = "checkDate",labelText="检查执行日期",displayPosition = 5,staticControl = StaticControl.DATESTATICCONTROL,canBeNull=false)
    private Date checkDate;

    @TableField(value = "status")
    @Excel(name = "状态", orderNum = "5", width = 20.0D)
    @UiPropertyField(moduleId = ModuleServe.eqsMaintenanceTaskModule,propertyName = "status",labelText="状态",displayPosition = 5,canBeNull=false,controlType = ControlType.DICTSELECTCONTROL,dictCode = "status")
    private String status;


    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCheckContent() {
        return checkContent;
    }

    public void setCheckContent(String checkContent) {
        this.checkContent = checkContent;
    }

    public String getCheckResult() {
        return checkResult;
    }

    public void setCheckResult(String checkResult) {
        this.checkResult = checkResult;
    }

    public Date getCheckDate() {
        return checkDate;
    }

    public void setCheckDate(Date checkDate) {
        this.checkDate = checkDate;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }
}